<?php
/**
 * NOTICE OF LICENSE
 *
 * THIS SOURCE FILE IS PART OF EVEBIT'S PRIVATE PROJECT.
 * 
 * DO NOT USE THIS FILE IN OTHER PLACE.
 *
 * @package     App_Backend
 * @subpackage  View
 * @author      Cheng Wei <berlios.o@gmail.com>
 * @version     $$Id: head.phtml 20 2010-12-18 09:35:07Z cheng.wei $$
 */

$this->headMeta()->appendHttpEquiv('Content-Type', 'text/html; charset=UTF-8');
$locale = $this->getSession()->getLocale();
$this->headMeta()->appendHttpEquiv('Content-Language', str_replace('_', '-', $locale));
$this->headMeta()->appendHttpEquiv('x-ua-compatible', "ie=7");
$this->headLink()->headLink(array('rel' => 'favicon', 'href' => $this->baseUrl('favicon.ico')));
$this->headLink()->headLink(array('rel' => 'icon', 'href' => $this->baseUrl('favicon.ico')));
$this->headLink()->headLink(array('rel' => 'shortcut icon', 'href' => $this->baseUrl('favicon.ico')));


$this->headScript()->prependFile($this->baseUrl("media/js/swfobject.js"));
$this->headScript()->prependFile($this->baseUrl("media/js/handlers.js"));
$this->headScript()->prependFile($this->baseUrl("media/js/swfupload.js"));
$this->headScript()->prependFile($this->baseUrl("media/js/jquery.treeview.min.js"));
$this->headScript()->prependFile($this->baseUrl("media/js/validation.js"));
$this->headScript()->prependFile($this->baseUrl("media/js/custom.js"));
$this->headScript()->prependFile($this->baseUrl("media/js/searchbox.js"));
$this->headScript()->prependFile($this->baseUrl("media/js/jquery.tablesorter.min.js"));
$this->headScript()->prependFile($this->baseUrl("media/js/superfish.js"));
$this->headScript()->prependFile($this->baseUrl("media/js/hoverIntent.js"));
$this->headScript()->prependFile($this->baseUrl("media/js/jquery.wysiwyg.js"));
$this->headScript()->prependFile($this->baseUrl("media/js/jquery-ui-1.7.2.custom.min.js"));
$this->headScript()->prependFile($this->baseUrl("media/js/easyTooltip.js"));
$this->headScript()->prependFile($this->baseUrl("media/js/jquery.js"));

$this->headTitle($this->getConfig('website_title'))->setSeparator(' - ');